<?php
include_once('class/pembelian.php');

$pembelian=new Pembelian();
$id_pembeli=$_SESSION['login'];

$daftar_pembelian=$pembelian->getPembelian($id_pembeli);

if(isset($_GET['detail']))
{
	$id_beli=$_GET['detail'];
	$daftar_detail=$pembelian->getMasterDetail($id_beli);
}

?>